import os

# paths=['coco2014','Stanford','vehicleplate']
paths = ['../output/JPEGImages']
f = open('../output/train_all.txt', 'w')
for path in paths:
    p = os.path.join(path)
    filenames = os.listdir(p)
    for filename in filenames:
        im_path = './data/images/' + filename
        # 生成labels 选择下面这个
        #im_path = './output/JPEGImages/' + filename
        print(im_path)
        f.write(im_path + '\n')
f.close()
